package mytest;

public class Test {
    public static void main(String[] args) {
        Thread a = new Thread();
        System.out.println(a.isInterrupted());
        a.interrupt();
        a.interrupt();
        System.out.println(a.isInterrupted());

    }
}
